﻿$(document).ready(function () {
	$("#myRestaurants").click(function () {
		getPartial('MyRestaurants', '#divMyRestaurants', 'Owner/getPartials');
	});

	$("#addRestaurant").click(function () {
		getNewRestaurant();

		getPartial('AddRestaurant', '#divAddRestaurant', 'Owner/getPartials');
	});

	$("#loadedReserves").click(function () {
		getPartial('LoadedReserves', '#divLoadedReserves', 'Owner/getPartials');
	});

	$("#editProfile").click(function () {
		getPartial('EditProfile', '#divEditProfile', 'User/getPartials');
	});
});